package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 导管配置表
 * </p>
 *
 * @author zqb
 * @date 2024-07-19 15:02:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_pipe_config")
public class BPipeConfig extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 型号字典code
     */
    @TableField(value = "type_code", condition = LIKE)
    @Schema(description = "型号字典code")
    private String typeCode;
    /**
     * 型号名称
     */
    @TableField(value = "type_name", condition = LIKE)
    @Schema(description = "型号名称")
    private String typeName;
    /**
     * 插管部位名称字典code
     */
    @TableField(value = "intubation_site_code", condition = LIKE)
    @Schema(description = "插管部位名称字典code")
    private String intubationSiteCode;
    /**
     * 插管部位名称
     */
    @TableField(value = "intubation_site_name", condition = LIKE)
    @Schema(description = "插管部位名称")
    private String intubationSiteName;
    /**
     * 有效期（天）
     */
    @TableField(value = "validity", condition = EQUAL)
    @Schema(description = "有效期（天）")
    private Integer validity;
    /**
     * 是否可见1、是 0、否
     */
    @TableField(value = "is_visiable", condition = EQUAL)
    @Schema(description = "是否可见1、是 0、否")
    private Integer isVisiable;
    /**
     * 管道名称字典code
     */
    @TableField(value = "pp_name_code", condition = LIKE)
    @Schema(description = "管道名称字典code")
    private String ppNameCode;
    /**
     * 管道名称
     */
    @TableField(value = "pp_name", condition = LIKE)
    @Schema(description = "管道名称")
    private String ppName;
    /**
     * 管道类型字典code
     */
    @TableField(value = "pp_type_code", condition = LIKE)
    @Schema(description = "管道类型字典code")
    private String ppTypeCode;
    /**
     * 管道类型名称（高危，中危，低危）
     */
    @TableField(value = "pp_type_name", condition = LIKE)
    @Schema(description = "管道类型名称（高危，中危，低危）")
    private String ppTypeName;

    /**
     * 备注
     */
    @TableField(value = "remarks", condition = LIKE)
    @Schema(description = "备注")
    private String remarks;
    /**
     * 排序号，说明：权重
     */
    @TableField(value = "order_no", condition = EQUAL)
    @Schema(description = "排序号，说明：权重")
    private Integer orderNo;



}
